import Vue from "vue";
import App from "./App.vue";

Vue.config.productionTip = false;

new Vue({
    render: (h) => h(App),
}).$mount("#app");

/*
1.使用PubSbu库pubsub-js库来实现A-->B传递数据
2.在B组件的mounted或之前阶段创建订阅者PubSub.subscribe("msgName", (msgName, value)=>{})
3.在A组件创建发布者PubSub.publish("msgName", value)
*/ 